package com.example.miaosha.util;

import java.util.UUID;

/**
 * @author kangnan
 * @date 2021/5/17 0:28
 **/
public class UUIDUtil {

    public static String genUuid() {
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static void main(String[] args) {
        System.out.println(UUIDUtil.genUuid());
    }

}
